package com.net.xpay.core.enums;

import com.net.common.enums.base.StringEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author  on 24/03/2018.
 * 交易方式：
 * ALL_ACCOUNT:全部通过account,
 * ACCOUNT_AND_CHANNEL 部分通过account,部分通过CHANNEl
 * ALL_CHANNEL 全部通过外部支付渠道,
 */
@Getter
@AllArgsConstructor
public enum BillPayMethod implements StringEnum<BillPayMethod> {
    BY_ADMIN("by_admin", "运营充值"),

    ALL_ACCOUNT("all_account", "通过账户支付"),

    ACCOUNT_AND_PAY_CHANNEL("account_and_pay_channel", "通过账户和第三方支付渠道一起支付"),

    PAY_TRANS_CHANNEL("pay_trans_channel", "批量转账带支付"),

    ALIPAY_APP_QRCODE("alipay_app_qrcode", "扫码充值"),

    ALIPAY_WEB_PAGE("alipay_web_page", "电脑端充值"),

    ALL_PAY_CHANNEL("all_pay_channel", "转账充值");

    private String value;

    private String desc;

}
